import http from '@/utils/http'

const BASE_URL = '/system/factorySite'

export interface FactoryResp {
  id: number
  name: string
  createTime: string
  updateTime: string
  createUserString: string
  updateUserString: string
}

/** @desc 获取厂区列表 */
export function getFactoryList() {
  return http.get<FactoryResp[]>(`${BASE_URL}/factorySiteList`)
}
